﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DienThoai.MODELS;

namespace DienThoai.CONTROLLERS
{
    public class LoginController
    {
        private static LoginController instance;
        
        private LoginController() { }

        public static LoginController Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new LoginController();
                }
                return instance;
            }
        }

        public void InvokeAuthenticate(string userName, string passWord)
        {
            LoginModel.Instance.Authenticate(userName, passWord);
        }
    }
}
